
<%form_for  :user do |f| %>
     用户名: <%=f.text_field :name%><br/>
     密码: <%=f.password_field :pwd%><br/>
     <%=f.submit "登录"%>
<%end%>
